<?php

namespace App\Models;


use App\Libs\DataFormat;
use Illuminate\Database\Eloquent\Model;
use Illuminate\Support\Facades\DB;


class SafeBanner extends Model
{

    use DataFormat;
    protected  $table='safe_plan_banner';


    public static  $statusConf = ['0'=>'关闭', '1'=>'开启'];
    public static $jump_mode = [0 => '不跳转', 1 => '项目', '2' => '频道',];
    public static $formatKey = ['id'=>'int', 'title'=>'string', 'photo'=>'image_url', 'jump_mode'=>'int', 'jump_id'=>'int', 'href'=>'string' ];

}
